﻿using System.Runtime.Serialization;
using JTLeigh.Commerce.Spencer.Core.Service.Contracts;

namespace JTLeigh.Commerce.Spencer.Features.ProductCatalog.Service.Contracts.GetAllCategoryPathsToProduct
{

	/// <summary>
	/// Request data contract for the <see cref="IProductCatalogService.GetAllCategoryPathsToProduct"/>
	/// operation.
	/// </summary>
	[DataContract]
	public class GetAllCategoryPathsToProductRequest : RequestBase
	{

		#region Properties

		/// <summary>
		/// Gets or sets the fully-qualified product identifier of the product whose category paths 
        /// are to be retrieved.
		/// </summary>
		/// <value>A <see cref="FullyQualifiedProductId"/>.</value>
		[DataMember(IsRequired = true)]
		public FullyQualifiedProductId ProductId { get; set; }

		#endregion // Properties

	}

}
